const initState = {
  wenzhang: [],
};
const rereducer = (state = initState, action) => {
  const newinitState = JSON.parse(JSON.stringify(state));
  switch (action.type) {
    // 商品数据
    case "WENZHANG":
      newinitState.wenzhang = action.payload;
      return newinitState;
    default:
      return newinitState;
  }
};
export default rereducer;
